<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:c="http://www.w3.org/1999/XSL/Transform">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>
    <div th:replace="common/top">
    </div>

    <div id="Content">
        <div id="Catalog">
            <h2>用户信息</h2>

            <table class="altrowstable">
                <tr>
                    <td>UserID</td>
                    <td th:text="${account.userid}" style="width: 150px">UserID</td>
                </tr>

                <tr>
                    <td>Password</td>
                    <td th:text="${account.password}">Password</td>
                </tr>

                <tr>
                    <td>Email</td>
                    <td th:text="${account.email}">Email</td>
                </tr>

                <tr>
                    <td>FirstName</td>
                    <td th:text="${account.firstName}">FirstName</td>
                </tr>

                <tr>
                    <td>LastName</td>
                    <td th:text="${account.lastName}">LastName</td>
                </tr>

                <tr>
                    <td>Status</td>
                    <td th:text="${account.status}">Status</td>
                </tr>

                <tr>
                    <td>Address1</td>
                    <td th:text="${account.addr1}">Addr1</td>
                </tr>

                <tr>
                    <td>Address2</td>
                    <td th:text="${account.addr2}">Addr2</td>
                </tr>

                <tr>
                    <td>City</td>
                    <td th:text="${account.city}">City</td>
                </tr>

                <tr>
                    <td>State</td>
                    <td th:text="${account.state}">State</td>
                </tr>

                <tr>
                    <td>Zip</td>
                    <td th:text="${account.zip}">Zip</td>
                </tr>

                <tr>
                    <td>Country</td>
                    <td th:text="${account.country}">Country</td>
                </tr>

                <tr>
                    <td>Phone</td>
                    <td th:text="${account.phone}">Phone</td>
                </tr>
            </table>

        </div>

        <table align="center">
            <tr>
                <td>
                    <a class="Button" th:href="'/account/edit?userid=' + ${account.userid}"> 修改信息 </a>
                </td>
                <td>
                    <a class="Button" href="/account/all"> 返回总览 </a>
                </td>
            </tr>
        </table>
    </div>

    <div th:replace="common/bottom">
    </div>

</body>
</html>